/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package alexpaz.clasesbase;

import javax.swing.JTable;

/**
 *
 * @author Alex
 */
public class TablaSeleccionDTO extends JTable {

    public DTO getDTOSeleccionado() {
        return ((AbstractDTOTableAdapter) getModel()).getDTO(getSelectedRow());
    }

    public void setModel(AbstractDTOTableAdapter modeloTableAdapter) {
        super.setModel(modeloTableAdapter);

    }

    public TablaSeleccionDTO() {
    }
}